#include <stdio.h>

int main()
{
	double num;

	scanf("%lf", &num);
	printf("%d\n", (int) (num + 0.5));
	
	return 0;
}